<{include file="section/admin/header.tpl"}>

<script type="text/javascript" src="http://js.sohu.com/library/jquery1.4.2.js"></script>
<script type="text/javascript" src="<{$smarty.const._DOMAIN_SC_CDN_}>/upload/zx/sc/js/admin/merchantapply.js"></script>
<script type="text/javascript" src="<{$smarty.const._DOMAIN_SC_CDN_}>/upload/zx/sc/js/utility/upload.js"></script>
<link type="text/css" rel="stylesheet" href="<{$smarty.const._DOMAIN_SC_CDN_}>/upload/zx/sc/css/admin/merchant_apply.css" />
<script type="text/javascript" src="http://cms.f.itc.cn/upload/ihome/js/swfobject.js"></script>
<script>
var Merchantapply=new Merchantapply();
</script>


<div class="main">
	
	<form method="POST" action="/merchantapply/add_apply_merchant" id="merchant_apply_form">
		<div class="tit f06 mb10 mt20 f14">账号信息</div>
		<table cellspacing="0" cellpadding="0" border="0" width="100%">
			<tr>
				<td height="50" align="right" width="125" class="f14"><span class="ff6">*</span> 登录邮箱：</td>
				<td width="250"><input type="text" maxlength="30" class="in" name="passport" id="passport" onblur="Merchantapply.check_passport()"></td>
				<td width="" class="passport_tip"></td>
			</tr>
			<tr>
				<td height="50" align="right" width="125" class="f14"><span class="ff6">*</span> 注册密码：</td>
				<td width="250"><input type="text" maxlength="20" class="in" name="password" id="password" onblur="Merchantapply.check_password()"></td>
				<td class="password_tip"></td>
			</tr>
		</table>


		<div class="tit f06 mb10 mt20 f14">商铺资料</div>
		<table cellspacing="0" cellpadding="0" border="0" width="100%">
			<tr>
				<td height="50" align="right" width="125" class="f14"><span class="ff6">*</span> 商铺名称：</td>
				<td width="250"><input type="text" maxlength="30" class="in" name="shop_name" id="shop_name" onblur="Merchantapply.check_shop_name()"></td>
				<td width="" class="shop_name_tip"></td>
			</tr>
			<tr>
				<td height="50" align="right" width="125" class="f14"><span class="ff6">*</span> 商铺简称：</td>
				<td width="250"><input type="text" maxlength="20" class="in" name="shop_short_name" id="shop_short_name" onblur="Merchantapply.check_shop_short_name()"></td>
				<td class="shop_short_name_tip"></td>
			</tr>
			<tr>
				<td height="40" align="right" width="125" class="f14"><span class="ff6">*</span> 主营行业：</td>
				<td colspan="2">
					<select id="major_category_id" name="major_category_id" class="valid" id="major_category" onblur="Merchantapply.check_major_category(this)">
						<option>请选择主营行业</option>
						<{foreach from=$category  key=key item=item }>
							<option value="<{$item.id}>"><{$item.cate_name}></option>
						<{/foreach}> 
					</select>
				</td>
				<td class="major_category_tip"></td>
			</tr>
			<tr>
				<td height="40" align="right" width="125" class="f14">主营业务：</td>
				<td width="250"><input type="text" maxlength="30" class="in" name="major_business" id="major_business" onblur="Merchantapply.check_major_business(this)"></td>
				<td class="major_business_tip"></td>
			</tr>
			<tr>
				<td height="50" align="right" width="125" class="f14"><span class="ff6">*</span> 所在地区：</td>
				<td colspan="2">
					<select onchange="Merchantapply.get_city_list(this.value)" name="province" id="select_province" class="valid">
						<option value="0">请选择省份</option>
						<{foreach from=$province_list  key=key item=item }>
							<option value="<{$item.province}>"><{$item.name}></option>
						<{/foreach}> 
					</select>
					<select onchange="Merchantapply.get_market_list(this.value)" name="city" id="select_city" class="valid">
						<option value="">请选择城市</option>
					</select>
					<select name="market" id="select_market" class="market">
						<option value="">请选择卖场</option>
					</select>
				</td>
			</tr>
			<tr>
				<td height="50" align="right" width="125" class="f14"><span class="ff6">*</span> 详细地址：</td>
				<td width="250"><input type="text" maxlength="50" class="in" name="address" id="address" onblur="Merchantapply.check_address()"></td>
				<td class="address_tip"></td>
			</tr>
			<tr>
				<td height="50" align="right" width="125" class="f14">商铺网址：</td>
				<td width="250" colspan="2"><input type="text" style="color:#ccc" value="http://" maxlength="50" class="in" name="url"></td>
			</tr>
		</table>

		<div class="tit f06 mb10 mt20 f14">联系方式</div>
		<table cellspacing="0" cellpadding="0" border="0" width="100%">
			<tr>
				<td height="50" align="right" width="125" class="f14"><span class="ff6">*</span> 联系人：</td>
				<td width="250"><input type="text" maxlength="20" class="in" name="name" id="name" onblur="Merchantapply.check_name()"></td>
				<td class="name_tip"></td>
			</tr>
			<tr>
				<td height="50" align="right" width="125" class="f14">职位：</td>
				<td width="250" colspan="2"><input type="text" maxlength="30" class="in" name="job"></td>
			</tr>
			<tr>
				<td height="50" align="right" width="125" class="f14">固定电话：</td>
				<td width="250"><input type="text" maxlength="20" class="in" name="phone"></td>
				<td class="status"><font color="#666">电话格式如：010-58951629-111或010-58951629。</font></td>
			</tr>
			<tr>
				<td height="50" align="right" width="125" class="f14">手机：</td>
				<td width="250" colspan="2"><input type="text" maxlength="20" class="in" name="mobile"></td>
			</tr>
			<tr>
				<td height="50" align="right" width="125" class="f14">传真：</td>
				<td width="250" colspan="2"><input type="text" maxlength="20" class="in" name="fax"></td>
			</tr>
			<tr>
				<td height="50" align="right" width="125" class="f14">电子邮件：</td>
				<td width="250" colspan="2"><input type="text" maxlength="50" class="in" name="email"></td>
			</tr>
			<tr>
				<td height="50" align="right" width="125" class="f14"><span class="ff6">*</span> 验证码：</td>
				<td width="250"> <input type="text" class="input" style="width:50px" value="" name="checkcode" id="checkcode" /></td>
				<td><img title="验证码" alt="验证码" src="/checkcode" id="siimage"><a onclick="document.getElementById('siimage').src = '/checkcode/?' + Math.random(); return false" href="#" title="Refresh Image">看不清，请刷新</a></td>
			</tr>
		</table>

		<div class="mt10 mb20 pt10" style="border-top:1px #C5C4C4 solid; padding-left:110px;">
			<p class="mb10"><input type="checkbox" checked="true" id="treaty"> 我已经看过并同意 《搜狐网络服务使用协议》</p>
			<input type="submit" value="申请" class="ok mb20" name="" onclick="return Merchantapply.check_submit();">
		</div>
	</form>

</div>


<script type="text/javascript" src="http://cms.f.itc.cn/upload/ihome/js/upload_flash.js"></script>
<script type="text/javascript" src="<{$smarty.const._DOMAIN_SC_CDN_}>/upload/zx/sc/js/upload_flash.js"></script>

<{include file="section/admin/footer.tpl"}>
